<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <title>更新</title>
    <link href="libs/weui/weuix.min.css" rel="stylesheet" />
    <link href="libs/swipe/swiper.min.css" rel="stylesheet" />
    <link href="css/common.css" rel="stylesheet"/>
    <link href="css/publish.css" rel="stylesheet" />
    <title></title>
</head>
<body class="page-bg">
    <input type="hidden" id="userId" value="" />
    <input type="hidden" id="categoryId" value="" />
    <input type="hidden" id="publish_type" value=""/>
    <input type="hidden" id="imageIds" value=""/>
    <input type="hidden" id="id" value/>
    <div class="weui_tab tab-bottom">
        <div class="weui_btn_warn weui-header ">
            <div class="weui-header-left"> </div>
            <h1 class="weui-header-title">更新</h1>
            <div class="weui-header-right">
                <!--<a class="icon icon-22 f-white"></a>-->
            </div>
        </div>
    <div class="weui_tab_bd">
        <div class="publish-con">
            <div class="weui_cell">
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" placeholder="请填写内容描述" id="messages" type="text">
                </div>
                <div class="weui_cell_ft"><i class="weui_icon_warn hide"></i></div>
            </div>
            <div class="weui_cell">
                <ul class="weui_uploader_files" id="imgs">
                </ul>
                <div class="weui_uploader_input_wrp" id="filed">
                    <input class="weui_uploader_input" type="file" accept="image/jpg,image/jpeg,image/png,image/gif" id="addimgurls" multiple="" />
                    <input type="hidden" name="files" />
                    <span class="txt">添加图片</span>
                </div>
            </div>
            <div class="weui_cell">
                <div class="count" id="imgsCount">0/4</div>
            </div>
        </div>
        <div class="publish-con">
            <div class="weui_cell">
                <div class="weui_cell_bd weui_cell_primary">
                    <p>选择类型</p>
                </div>
                <div class="weui_cell_ft">
                    <ul class="product_type">
                        <li class="selected" type="1"><a class="weui_btn weui_btn_mini weui_btn_default">销售商品</a></li>
                        <li type="2"><a class="weui_btn weui_btn_mini weui_btn_default">发布资讯</a></li>
                        <li type="3"><a class="weui_btn weui_btn_mini weui_btn_default">提交反馈</a></li>
                    </ul>
                </div>
            </div>
            <div class="weui_cells weui_cells_access choice_cats" id="getCatsbox">
                <a class="weui_cell " href="javascript:;" id="getCats">
                    <div class="weui_cell_bd weui_cell_primary">
                        <p>选择分类</p>
                    </div>
                    <div class="weui_cell_ft">分类名称</div>
                </a>
            </div>
            <div class="weui_cells weui_cells_access choice_cats" id="get2Catsbox">
                <a class="weui_cell " href="javascript:;" id="get2Cats">
                    <div class="weui_cell_bd weui_cell_primary">
                        <p>选择分类</p>
                    </div>
                    <div class="weui_cell_ft">分类名称</div>
                </a>
            </div>
        </div>
        <div class="publish-con pricebox">
            <div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">价格￥</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" type="number" pattern="[0-9]*" id="price" placeholder="价格">
                </div>
            </div>
        </div>
    </div>
    <div class="weui_tabbar publish_tab">
        <a href="javascript:window.history.go(-1);" class="tabbar_item">
            <p class="weui_tabbar_label">取消</p>
        </a>
        <a href="javascript:;" class="tabbar_item weui-border-l" id="btn-publish">
            <p class="weui_tabbar_label">确认更新</p>
        </a>
    </div>
</div>
</body>

<script type="text/javascript" src="libs/zepto/zepto.min.js"></script>
<script type="text/javascript" src="libs/zepto/zepto.cookie.min.js"></script>
<script type="text/javascript" src="libs/swipe/swiper.min.js"></script>
<script type="text/javascript" src="libs/common/picker.js"></script>
<script type="text/javascript" src="libs/common/select.js"></script>
<script type="text/javascript" src="libs/common/lrz.min.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="components/update.js" ></script>

</html>